import scrapy
from scrapy import Field


class ExampleItem(scrapy.Item):
    name = Field(a='hello', b=[1, 2, 3])
    age = Field(a=lambda x: x * 2)


e = ExampleItem()
print(e.fields)
print(type(e.fields['name']))
e['age'] = 2
print(e['age'])
print(scrapy)
